package com.hongyi.web.utils;

import lombok.Data;

import java.util.List;

/**
 * @Author hongyi
 * @Date 2025/6/21 2:24
 */
@Data
public class PageResult<T> {
    private Long total;  // 总记录数
    private List<T> list; // 当前页数据

    // 构造方法、getter/setter
    public PageResult(Long total, List<T> list) {
        this.total = total;
        this.list = list;
    }

}
